package com.dwxt.community.entity;

import java.util.Date;

/**
 * @author Long Yan
 * @date 2021/03/04
 */
public class User {
    /**
     * 用户id
     */
    private String id;

    /**
     * 电话
     */
    private String phone;

    private String username;

    /**
     * 积分
     */
    private Integer integral;

    /**
     * 是否实名认证
     */
    private Integer isNameAuthentication;

    /**
     * 身份证
     */
    private String identityCard;

    /**
     * 是否是户主
     */
    private Integer isHouseHead;

    /**
     * 头像地址
     */
    private String headPhotoUrl;

    /**
     * 密码
     */
    private String password;

    /**
     * 上次签到时间
     */
    private Date lastSignTime;

    private Date createTime;

    /**
     * 社区id
     */
    private Integer communityId;

    /**
     * 社区名
     */
    private String communityName;

    /**
     * 门牌号
     */
    private String houseNumber;

    /**
     * 每天获取积分上限
     */
    private Integer todayIntegralMax;

    /**
     * 动美网的userId
     */
    private String dongMeiId;

    /**
     * 工作部门
     */
    private String workDepartment;

    /**
     * 是否是公务员
     */
    private Integer isOfficer;

    private Date lastLoginTime;

    private String fangHuiId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getIsNameAuthentication() {
        return isNameAuthentication;
    }

    public void setIsNameAuthentication(Integer isNameAuthentication) {
        this.isNameAuthentication = isNameAuthentication;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard == null ? null : identityCard.trim();
    }

    public Integer getIsHouseHead() {
        return isHouseHead;
    }

    public void setIsHouseHead(Integer isHouseHead) {
        this.isHouseHead = isHouseHead;
    }

    public String getHeadPhotoUrl() {
        return headPhotoUrl;
    }

    public void setHeadPhotoUrl(String headPhotoUrl) {
        this.headPhotoUrl = headPhotoUrl == null ? null : headPhotoUrl.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getLastSignTime() {
        return lastSignTime;
    }

    public void setLastSignTime(Date lastSignTime) {
        this.lastSignTime = lastSignTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName == null ? null : communityName.trim();
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber == null ? null : houseNumber.trim();
    }

    public Integer getTodayIntegralMax() {
        return todayIntegralMax;
    }

    public void setTodayIntegralMax(Integer todayIntegralMax) {
        this.todayIntegralMax = todayIntegralMax;
    }

    public String getDongMeiId() {
        return dongMeiId;
    }

    public void setDongMeiId(String dongMeiId) {
        this.dongMeiId = dongMeiId == null ? null : dongMeiId.trim();
    }

    public String getWorkDepartment() {
        return workDepartment;
    }

    public void setWorkDepartment(String workDepartment) {
        this.workDepartment = workDepartment == null ? null : workDepartment.trim();
    }

    public Integer getIsOfficer() {
        return isOfficer;
    }

    public void setIsOfficer(Integer isOfficer) {
        this.isOfficer = isOfficer;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getFangHuiId() {
        return fangHuiId;
    }

    public void setFangHuiId(String fangHuiId) {
        this.fangHuiId = fangHuiId == null ? null : fangHuiId.trim();
    }
}